/*
 * @Author: Li Zengkun
 * @Date: 2022-09-12 19:35:22
 * @LastEditors: Li Zengkun
 * @LastEditTime: 2022-09-13 21:21:25
 * @Description: 
 */

import axios from "axios"

// 删除账户
const remove = (data) => axios.post(`/user/remove`, data)

// 启用/禁用账户
const usable = (data) => axios.post(`/user/usable`, data)

// 获取用户列表
const list = (params) => axios.get(`/user/list`, { params })

export default {
    remove,
    usable,
    list
}